import App from './App'
import {
	createSSRApp
} from 'vue'
import {
	createPinia
} from 'pinia'
import persist from 'pinia-plugin-persistedstate'
export function createApp() {
	const app = createSSRApp(App)
	const pinia = createPinia()
	pinia.use(persist)
	app.use(pinia)
	return {
		app
	}
}